public class Gc {
    static{
        System.out.println("the static will be use in Gc");
    }
    public static void main(String[] args){
        Person p1 = new Person();
        Person p2 = new Person();
        p1.home = "FoGang";
        System.out.println("this is my home:" + p1.home);
        System.out.println("this is my home:" + p2.home);
        Person.sayHello();
        p1.sayHello();


    }
}
class Person{ 
    static String home;
    static{
        System.out.println("the static will be use in Person"); 
    }
    public static void sayHello(){
        System.out.println("hello world!");


    }
}
